﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;

namespace TV_App
{
    class Program
    {
        static void Main(string[] args)
        {
            TV myTV = new TV { };
            myTV.GenerateChannelList();
            myTV.ShowCurrentChannel();
            //Thread.Sleep(500);
            myTV.SwitchChannelDown();
            myTV.ShowCurrentChannel();
            //Thread.Sleep(500);
            myTV.SwitchChannelDown();
            myTV.ShowCurrentChannel();
            //Thread.Sleep(500);
            myTV.SwitchChannelUp();
            myTV.ShowCurrentChannel();
            myTV.SwitchChannelUp();
            myTV.ShowCurrentChannel();
            myTV.SwitchChannelUp();
            myTV.ShowCurrentChannel();

        }
    }
}
